package com.josework.springhelloworld.service;

import com.josework.springhelloworld.model.Article;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ArticleService {

//    public int saveArticles(Article article);

    public int saveArticle(Article article);

    public int deleteArticle(Article article);

    public int updateArticle(Article article);

    public Article getArticle(Long id);

    public List<Article> getAll();



}
